<%@ page  contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page import="limousine.util.*" %>



<logic:present name="<%=Token.USER_CONTROL%>">
    <div class="menu">

        <div class="top_menu">
        </div>

        <div class="menu_btn">
            <div> <!--This is the first division of left-->

                <div id="firstpane" class="menu_list"> <!--Code for menu starts here-->
                    <logic:iterate id="bean" scope="session" type="limousine.vo.UserControl" name="<%=Token.USER_CONTROL%>" >
                        <p class="menu_head"><%=bean.getName()%></p>
                        <div class="menu_body">
                            <%for (int i = 0; i < bean.getModule().size(); i++) {%>
                            <%if (bean.getModule().get(i).getLink().trim().equals("#")) {%>
                            <a style="color: #eee;" href="<%=bean.getModule().get(i).getLink()%>" ><%=bean.getModule().get(i).getName()%></a>
                            <%} else {%>
                            <a href="<%=bean.getModule().get(i).getLink()%>" ><%=bean.getModule().get(i).getName()%></a>
                            <%}%>
                            <%}%>
                        </div>
                    </logic:iterate>
                </div> <!--Code for menu ends here-->
            </div>
        </div>



        <div class="bottom_menu">
        </div>
    </div>
</logic:present>
